import http from '@/common/utils/request.js'

export const addr = {
	findAddrList(data){
		return http.get('/merchant/addr/', {params:data, custom:{}})
	},
	findDefaultAddr(data){
		return http.post('/merchant/addr/findDefaultAddr/', data, {custom:{}})
	},
	createAddr(data){
		return http.post('/merchant/addr/createAddr/', data, {custom:{}})
	},
	updateAddr(data){
		return http.post('/merchant/addr/updateAddr/', data, {custom:{}})
	},
	deleteAddr(data){
		return http.post('/merchant/addr/deleteAction/', data, {custom:{}})
	}
}